INCLUDE(FILES.cmake)

## Use wxWidgets
SET(wxWidgets_USE_LIBS base core html aui adv)
INCLUDE(FindwxWidgets REQUIRED)
INCLUDE(UsewxWidgets)

LINK_DIRECTORIES($ENV{HOME}/lib)
INCLUDE_DIRECTORIES(BEFORE ../3rd/include)

ADD_EXECUTABLE(daodict WIN32 ${daodict_srcs} ../3rd/wxsqlite3/wxsqlite3.cpp
                            ../3rd/sqlite3/sqlite3.c)
TARGET_LINK_LIBRARIES(daodict ${wxWidgets_LIBRARIES})

